package com.whq.mvc.service;

import com.whq.mvc.resp.BusinessException;
import com.whq.mvc.service.model.UserModel;

public interface UserService {

    UserModel getUserById(Integer id);

    UserModel getUserByIdInCache(Integer id);

    void register(UserModel userModel) throws BusinessException;

    UserModel validateLogin(String telphone,String encrpPassword) throws BusinessException;
}
